from django.urls import path, include
from rest_framework import routers

from apps.department import views

router=routers.SimpleRouter()
router.register(prefix='',viewset=views.DepartView)

urlpatterns = [
    path('depart/', include(router.urls)),
]

app_name = 'department'